<html>
<head><meta charset="utf-8"><title>query system and backtraces · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/query.20system.20and.20backtraces.html">query system and backtraces</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="212225240"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/query%20system%20and%20backtraces/near/212225240" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/query.20system.20and.20backtraces.html#212225240">(Oct 04 2020 at 14:19)</a>:</h4>
<p>When looking at rustc backtraces a lot of stack frames come from the query system itself, which very rarely is relevant to ICE at hand.</p>
<p>Do you have any tips on how to filter these out or ways we can improve the situation here?</p>



<a name="212226474"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/query%20system%20and%20backtraces/near/212226474" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/query.20system.20and.20backtraces.html#212226474">(Oct 04 2020 at 14:54)</a>:</h4>
<p>We can do something like color-backtrace that allows coloring different parts of the backtrace depending on importance. In our case we could go even further and hide everything within the relevant query modules</p>



<a name="212226476"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/query%20system%20and%20backtraces/near/212226476" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/query.20system.20and.20backtraces.html#212226476">(Oct 04 2020 at 14:54)</a>:</h4>
<p>I would <em>love</em> to hide backtraces from queries</p>



<a name="212226482"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/query%20system%20and%20backtraces/near/212226482" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/query.20system.20and.20backtraces.html#212226482">(Oct 04 2020 at 14:55)</a>:</h4>
<p>other than the functions actually relevant that show up in the query stack anyway</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>